﻿namespace Game.Controller
{
    public class SceneController
    {
        
        
        
        
        #region singleton

        private static SceneController _instance;

        private static readonly object Lock = new object();
        
        public static SceneController Instance
        {
            get
            {
                if (_instance != null)
                {
                    return _instance;
                }

                lock (Lock)
                {
                    _instance ??= new SceneController();
                }
                
                return _instance;
            }
        }

        private SceneController()
        {
            
        }

        #endregion
    }
}